package cn.yunhe.entity;

import java.io.Serializable;

public class LeaveMessage implements Serializable {
    private int leaveId;//留言id
    private String leaveTitle;//留言标题
    private String leaveContent;//留言内容
    private int leaveFlag;
    private  String replycontent;//回复内容
    private User user;//用户信息

    public LeaveMessage() {
    }

    public LeaveMessage(int leaveId, String leaveTitle, String leaveContent, int leaveFlag, String replycontent, User user) {
        this.leaveId = leaveId;
        this.leaveTitle = leaveTitle;
        this.leaveContent = leaveContent;
        this.leaveFlag = leaveFlag;
        this.replycontent = replycontent;
        this.user = user;
    }

    public int getLeaveId() {
        return leaveId;
    }

    public void setLeaveId(int leaveId) {
        this.leaveId = leaveId;
    }

    public String getLeaveTitle() {
        return leaveTitle;
    }

    public void setLeaveTitle(String leaveTitle) {
        this.leaveTitle = leaveTitle;
    }

    public String getLeaveContent() {
        return leaveContent;
    }

    public void setLeaveContent(String leaveContent) {
        this.leaveContent = leaveContent;
    }

    public int getLeaveFlag() {
        return leaveFlag;
    }

    public void setLeaveFlag(int leaveFlag) {
        this.leaveFlag = leaveFlag;
    }

    public String getReplycontent() {
        return replycontent;
    }

    public void setReplycontent(String replycontent) {
        this.replycontent = replycontent;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
